package com.doremi.util;

public class Album {
	
	private int albumId;
	private String albumName;
	private String artistName;
	
	public Album(int albumId,String albumName,String artistName){
		this.albumId = albumId;
		this.albumName = albumName;
		this.artistName = artistName;
	}
	
	public int getAlbumId() {
		return albumId;
	}
	public void setAlbumId(int albumId) {
		this.albumId = albumId;
	}
	public String getAlbumName() {
		return albumName;
	}
	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}
	
	@Override
	public boolean equals(Object album){
		if (this.getAlbumId() == ((Album) album).getAlbumId()){
			return true;
		}
		return false;
	}

	public String getArtistName() {
		return artistName;
	}

	public void setArtistName(String artistName) {
		this.artistName = artistName;
	}
}